package com.majun.mapper;

import com.majun.entity.SysPermission;

import java.util.List;

/**
 * 权限mapper
 *
 * @author liuxun
 */
public interface SysPermissionMapperCustom {
    //根据用户id查询菜单
    public List<SysPermission> findMenuListByUserId(Long userId) throws Exception;

    //根据用户id查询权限URL
    public List<SysPermission> findPermissionListByUserId(Long userId) throws Exception;
}